package br.com.projeto.hibernatedao;

import org.hibernate.Session;

import br.com.projeto.dao.ClientDAO;
import br.com.projeto.entities.Client;

public class ClientHibernateDAO implements ClientDAO{
	
	private Session session;
	
	@Override
	public void saveClient(Client client) {
		this.session.save(client);
	}

	public Session getSession() {
		return session;
	}

	public void setSession(Session session) {
		this.session = session;
	}
	
}
